package com.weimob.mcloud.wechatwork.customer.mq.model;

import com.weimob.mcloud.wechatwork.customer.service.user.module.enums.group.ChatGroupOperationTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author yuzhaoyang
 * @desc 客户群变更mq消息对象
 * @date 2021-02-06 20:18
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class GroupChatUpdateMqModel implements Serializable {


    private static final long serialVersionUID = 5594029504716378769L;

    private String corpId;

    /**
     * 群ID
     */
    private String chatId;
    /**
     * @see ChatGroupOperationTypeEnum
     * 变更类型 0-新建群 1-群变更 2-群解散
     */
    private Byte type;


    private Date eventTime;
}
